#pragma once

namespace blu
{

	class viewport
	{
	private:
		float _x = 0.f;
		float _y = 0.f;
		float _width;
		float _height;
		float _minDepth = 0.f;
		float _maxDepth = 1.f;
	public:
		viewport(float width, float height)
			:_width(width), _height(height)
		{

		}

		float x() const { return _x; }
		void x(float x_) { _x = x_; }

		float y() const { return _y; }
		void y(float y_) { _y = y_; }

		float width() const { return _width; }
		void width(float width_) { _width = width_; }

		float height() const { return _height; }
		void height(float height_) { _height = height_; }

		float min_depth() const { return _minDepth; }
		void min_depth(float min_depth_) { _minDepth = min_depth_; }

		float max_depth() const { return _maxDepth; }
		void max_depth(float max_depth_) { _maxDepth = max_depth_; }
	};

}